package com.wanwu.channel.remote.allinpay.http.resp;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * @ClassName TLBaseResp
 * @Description 通联返回公共头
 * @Author husheng
 * @Date 2020-01-15 20:45
 */
@Data
public class TLBaseResp implements Serializable {

    private static final long serialVersionUID = 4925555386382418476L;

    //返回码
    @JSONField(name = "retcode")
    private String retCode;

    //返回码说明
    @JSONField(name = "retmsg")
    private String retMsg;

    //商户号
    @JSONField(name = "cusid")
    private String cusId;

    //应用Id
    @JSONField(name = "appid")
    private String appId;

    //交易单号
    @JSONField(name = "trxid")
    private String trxId;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}
